function CheckStatatus() {
echo CheckStatatus
read
}

function ListVMs() {
echo ListVMs
read
}

function PowerUp() {
echo PowerUp
read
}

function PowerDown() {
echo PowerDown
read
}

while true
do
clear
echo "[Pick a task]"
echo ""
echo "[1: List VMs]"
echo "[2: VM status]"
echo "[3: Power VM up]"
echo "[4: Power VM down]"
echo ""
echo "[0: Exit menu]"
echo ""
read -p "Task #:" Task 

case $Task in
    1)   CheckStatatus;;
    2)   ListVMs;;
    3)   PowerUp;;
    4)   PowerDown;;

    0)   exit;;
esac
done